package io.renren.modules.app.service;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

import io.renren.modules.app.entity.ibps.UserRole;

@Repository
public interface IUserRoleService extends JpaRepository<UserRole, Long>{
	@Query(value = "SELECT * FROM `ibps_party_user_role` WHERE role_id_ = ?1", nativeQuery = true)
	List<UserRole> findByRoleId(String role_id_);
}
